SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f971772d0113ecedc22bc8f00d512bad890f631310c9893c1e2b93968c8ac314' 
  AND token = 'SHmUb3fL/LauOv9IP6RPEwWFZxpY4M3uOAbDbVE4Exk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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