SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce5399e6393ab93dcf31d8cb0042dd46982130bbb7e37da13d831b5534de55bb' 
  AND token = 'Y3s4bY2eb6Rf4I0sqlZUQSFy+ybLdV+VfuECQIJ2QSQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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