SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cadc2d5cc058715ac16fcd5cc3717b1f582ef4196e254317fa97dd46404e4ceb' 
  AND token = 'PfLQckq+FgcPB0DsXXBp3aS5ltOBsT6w2Q0EPbuuwIw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}