SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d606d3c1f624b972cd470574bad148d445f5941f9e52286f14d35aaef6122e5' 
  AND token = 'VGI/vriMVbGfjJPi2+52RENe0VLjP7Nci6e72ZYwsx8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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