SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed9ebd23f732e93ef5cd4086b158db950772239041d3377e3f64ff066e82db8f' 
  AND token = 'ohBXIBAPWGWXcWAofjYV5rt8IGF+Qllum05xY1eIQqY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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