SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c19161594bf3e991b70a73b11e249502c37eadfce4a15bf499319b09f2d5d0b1' 
  AND token = 'vJYGkWfkpNf+rmlh/StYhaHwNblQ8MgD0jGJS/xhSzQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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