SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51a852a78ff966086cb135f104117086780ac9fa32e6dcf08b68ec792bd5e32c' 
  AND token = 'gch0dnw/pRVrV1q4iloCKpNV3CPtBFa7rqwLw0VrmTk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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