SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f87b71d42fa623da87ab1a5d438ae7ea4925b62e49e98876fa7bf1bd685f08d' 
  AND token = 'R5WffBGWjt1ZgcuABkOOlEGFQf58VuSz4xoey3prff8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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